class AddScore2exams < ActiveRecord::Migration
  def self.up
    add_column :exams, :score_a, :float
    add_column :exams, :score_b, :float
    add_column :exams, :score_c, :float
    add_column :exams, :score_d, :float
  end

  def self.down
    remove_column :exams, :score_a
    remove_column :exams, :score_b
    remove_column :exams, :score_c
    remove_column :exams, :score_d
  end
end
